﻿@model WikeSoft.Enterprise.Models.Sys.RoleEditModel

@{
    ViewBag.Title = "编辑角色";
    Layout = "~/Views/Shared/_Form.cshtml";
}

<form class="form-horizontal" action="@Url.Action("Edit")" method="post">
    <div class="form-group">
        @Html.LabelFor(x => x.RoleName, new { @class = "col-sm-2 control-label" })
        <div class="col-sm-10">
            @Html.TextBoxFor(x => x.RoleName, new { @class = "form-control", placeholder = "" })
            @Html.ValidationMessageFor(x => x.RoleName)
            @Html.HiddenFor(x=>x.Id)
        </div>
    </div>
    <div class="form-group">
        @Html.LabelFor(x => x.Remark, new { @class = "col-sm-2 control-label" })
        <div class="col-sm-10">
            @Html.TextBoxFor(x => x.Remark, new { @class = "form-control", placeholder = "" })
            @Html.ValidationMessageFor(x => x.Remark)

        </div>
    </div>
    <div>
        <div style="text-align: center">
            <button class="btn btn-default" type="submit" action="submit">编辑</button>
            <button class="btn btn-default" type="button" action="back" data-url="@Url.Action("Index")">返回 </button>
        </div>

    </div>
</form>
